<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //1. 通过document 获取根节点
        // console.log(document.documentElement);
        // 2. 通过document 获取body节点
        // console.log(document.body);
        // 3. 通过document 输出内容到页面上
        console.log(document);
        
        
    </script>
</body>
</html>